package com.stu.boke.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.stu.boke.entity.Comment;

public interface CommentService {

	List<Comment> listComment();

	Comment insertSubmitComment(Comment comment);

	Comment getCommentById(Integer id);

	void updateComment(Comment comment);

	List<Comment> listRecentComment(int i);

	PageInfo<Comment> listCommentByPage(Integer pageIndex, Integer pageSize);

	void deleteById(Integer id);

	List<Comment> listCommentByArticleId(Integer articleId);

}
